package com.googlecode.mgwt.examples.showcase.client;

import com.googlecode.mgwt.examples.showcase.client.model.DemoFloorEnum;
import com.googlecode.mgwt.examples.showcase.client.model.DemoProblemTypeEnum;
import com.googlecode.mgwt.examples.showcase.client.model.IrisProblemTypeEnum;
import com.googlecode.mgwt.examples.showcase.shared.ServiceCallDTO;

public class DemoServiceCallRenderer extends ServiceCallRenderer {

	@Override
	public String getDisplayName(ServiceCallDTO dto) {
		return DemoFloorEnum.values()[dto.getFloorID()].getDisplayName()+" "+
		DemoProblemTypeEnum.values()[dto.getTypeID()].getDisplayName();
	}

}
